<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2021/6/11
  Time: 16:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%--
表单上传文件
action:上传图片的服务器的路径
method：一定要写post请求
enctype="multipart/form-data"
--%>
<form action="toUpLoad" method="post" enctype="multipart/form-data">
    <h1>上传图片</h1>
    <input type="file" name="fileData">
    <br>
    <input type="submit" value="上传">


</form>

<h1>${msg}</h1>

</body>
</html>
